Features
- Both asynchronous and blocking implementations.
- IPv4 and IPv6 support.
How it works
- Tries to connect to Chrome captive portal (using its domain name).
- If fails, tries the Firefox one.
- If both fail, the second error is returned to help with diagnostics.
Install
The library is available on crates.io. Simply add the next line to your project's Cargo.toml
.
= "3.0.1"
Synchronous
The async-std
runtime is supported by default. But you can explicitly choose the blocking alternative.
= { = "3.0.1", = false, = ["sync"] }
Use
📝 Please visit the examples and the full documentation if you want to learn the details.
use check;
async